package com.settlement.system.service;

import com.settlement.system.common.exception.ServiceException;
import com.settlement.system.model.entity.common.TblAkcAdditionalItemDetail;

import java.util.List;
import java.util.Map;

/**
 * 爱库存-补款明细 服务类
 *
 * @author Ximi
 * @since 2020-07-06
 */

public interface ITblAkcAdditionalItemDetailService extends IBaseService {

    /**
     * 获取合计
     *
     * @param params 请求参数
     * @return
     * @throws ServiceException
     */
    public TblAkcAdditionalItemDetail getFoot(Map<String, Object> params) throws ServiceException;

    /**
     * 更新提现日期
     *
     * @param list
     * @throws ServiceException
     */
    public void batchUpdateExtractMoneyDate(List<TblAkcAdditionalItemDetail> list) throws ServiceException;

    /**
     * 查询提现日期不为空的交易订单号的条数
     * @param list
     * @return
     * @throws ServiceException
     */
    public int selectCountExistExtractMoneyDateByExchangeOrderNo(List<TblAkcAdditionalItemDetail> list) throws ServiceException;

}

